﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;
using System.Windows;
using System.Diagnostics;
using System.IO;
using System.Xml;

using System.Xml.Serialization;

namespace AI
{


    [XmlRoot("Node")]
    public class Node
    {
        public int _Index;
        public int _SIndex;
        public int _EIndex;

        public int Index { get { return _Index; } set { _Index = value; } }


        public int Weight
        {
            get { return _Weight; }
            set { _Weight = value; }
        }

        public int _Weight;

        public List<int> _NeighborList = new List<int>();

        public override string ToString()
        {
            return _SIndex.ToString() + " : " + _EIndex.ToString();
        }


    }
}
